home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19970326-19970626
/
000177_news@newsmaster….columbia.edu _Thu May 8 13:16:44 1997.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA08124
for <kermit.misc@watsun.cc.columbia.edu>; Thu, 8 May 1997 13:16:42 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id NAA26982
for kermit.misc@watsun; Thu, 8 May 1997 13:16:41 -0400 (EDT)
Path: news.columbia.edu!panix!news.mathworks.com!news-peer.sprintlink.net!Sprint!news-east.sprintlink.net!news-dc-26.sprintlink.net!news-fw-12.sprintlink.net!news.sprintlink.net!news-fw-6.sprintlink.net!myriad!mail
From: Frank da Cruz <fdc@watsun.cc.columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Help with dial timeout (noise?) problem
Date: 8 May 1997 13:00:14 -0400
Organization: Mail to Usenet Gateway
Lines: 46
Message-ID: <CMM.0.90.4.863109000.fdc@watsun.cc.columbia.edu>
To: "Michael Kairys" <kairys@mi.sl.com>
cc: comp.protocols.kermit.misc@myriad.alias.net
In-Reply-To: Your message of Thu, 8 May 1997 12:17:51 -0400 (EDT)
Xref: news.columbia.edu comp.protocols.kermit.misc:7000
Our news server has been busted for about a week -- we can receive but not
post. I'll try a roundabout method here, let's see if it works...
> Kermit 95 on Windows NT 4.0, USR Sportster modem..
>
> I'm trying to work with login scripts, using the supplied login.ksc file,
> to log into a SunOS host via a terminal server. It seems I never get to my
> script, but rather hit a dial timeout and am returned to the Kermit prompt.
> I can then connect, and I see half a dozen garbage characters at the top of
> the screen.
>
You need to modify the script to take the terminal server dialog into account:
typically this involves waiting (INPUT) for the terminal server prompt and
then sending (OUTPUT) the name or address of the system you want to connect
to.
> And if I get past that point, I would like to know how to issue the
> equivalent of an Alt-R from a script.
> I would like to do this after the login before the script exits, to fix a
> number-of-rows problem. I am telling the Sun system I am a VT100 (that's
> the only VT it knows about) and it seems to set me to 24 rows. even though
> I do an stty rows 48 in my .cshrc and Kermit thinks my window is 49 rows.
> Alt-R seems to fix it. Of course perhaps there's a better solution? Again,
> suggestions welcome!
>
There is presently no way to reset the terminal from command mode, but we
will probably be adding this in a future release. However, that's not the
solution in your case. Instead, once you get the host shell prompt, give
the following command:
`eval resize`
(with the "backquotes"). This should make the host recognize your current
screen size.
You should also be able to pick up VT220 and 320 termcap entries for the
Sun almost anywhere -- I'm surprised you don't have them already. Maybe there
is a spelling difference... Try:
cd /etc
grep -i vt termcap
On my local SunOS system, this picks up over 100 lines! Remember terminal
names are case sensitive in UNIX.
- Frank